using JetBrains.Annotations;
using UnityEngine.Scripting;

namespace Voodoo.Sauce.Core
{
	[Preserve]
	public interface IPurchaseDelegateWithInfo : IPurchaseDelegateBase
	{
		void OnPurchaseComplete(ProductReceivedInfo productReceivedInfo, PurchaseValidation purchaseValidation);

		void OnPurchaseFailure(VoodooPurchaseFailureReason reason, [CanBeNull] ProductReceivedInfo productReceivedInfo, string description);
	}
}
